class History < ActiveRecord::Base
	belongs_to :stock
	def self.top(stock_id)
		return History.last(:conditions => "stock_id = '#{stock_id}'")
	end
end
